package cc.rengu.igas.channel.cups.core.service.trans;

import cc.rengu.igas.channel.cups.core.service.base.ManageService;
import cc.rengu.oltp.service.common.constant.AppParamConstant;
import cc.rengu.oltp.service.common.enums.OltpRpcdEnum;
import cc.rengu.oltp.service.model.BizResponse;

/**
 * 银联发起线路测试
 *
 * @author yangfan
 * @version 1.0
 * @date 2020/11/14
 */
public class AcpCupsLineTestService extends ManageService {
    @Override
    protected Object bizBeforeCust() throws Exception {
        return null;
    }

    @Override
    protected BizResponse bizProcessCust(Object request) throws Exception {
        BizResponse bizResponse = new BizResponse();

        bizResponse.setRspSysId(AppParamConstant.SYS_ID);
        bizResponse.setRespCode(OltpRpcdEnum.TRANS_SUCCESS.getRespCode());
        bizResponse.setRespDesc(OltpRpcdEnum.TRANS_SUCCESS.getRespDesc());
        return bizResponse;
    }

    @Override
    protected void bizAfterCust(Object response) throws Exception {

    }
}
